package com.baidu.job;



import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import com.jfinal.core.Controller;


/**
 * 回帖任务(每2小时)
 * @author iicm
 * 2015-12-30 10:43
 */
public class ReplyHour extends Controller implements Job{

	@Override
	public void execute(JobExecutionContext context)
			throws JobExecutionException {
		Integer cronType = (Integer) context.getJobDetail().getJobDataMap().get("cronType");
		MainJobContent.reply(cronType);
	}
}
